﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace PitOfDespair.GameObjects
{
    interface ICanCollide
    {
        void Update(Microsoft.Xna.Framework.GameTime gameTime);
        Rectangle Position { get; }
        bool IsColliding(Rectangle rect);

    }
    interface IMovable
    {
        void MoveTo(int x, int y);

        /// <summary>
        /// set speed and direction
        /// </summary>
        /// <param name="x"></param>
        /// <param name="y"></param>
        Vector2 Vector { set; }
        //void SetVector(Vector2 vector);
        void SwitchDirectionX();
        void SwitchDirectionY();

    }
    interface ISizable
    {
        int Height { get; set; }
        int Width { get; set; }
    }
    interface IRenderable
    {
        Texture2D Texture { get; }
        Rectangle PositionOnTexture { get; }
    }
}
